const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
	transpileDependencies: true,
	lintOnSave: false,
	devServer: {
		proxy: {
			'/map': {
				target: 'https://apis.map.qq.com',
				changeOrigin: true,
				secure: true,
				pathRewrite: {
					'^/map': ''
				}
			},
			'/kangliuyong': {
				target: 'http://www.kangliuyong.com:10002',
				changeOrigin: true,
				pathRewrite: {
					'^/kangliuyong': ''
				}
			},
			'/1309973658': {
				target: 'https://service-10py34ys-1309973658.gz.apigw.tencentcs.com/release',
				changeOrigin: true,
				pathRewrite: {
					'^/1309973658': ''
				}
			},
		}
	}
})
